package Command;

import lombok.Getter;
import lombok.Setter;

import java.util.Date;

@Setter
@Getter
public class RmCommand extends AbstractCommand {

    private String key;

    private String value;

    public RmCommand(String key){
        super(CommandTypeEnum.RM);
        this.key = key;
    }


    public RmCommand(String key, String value, Long updateTime, int ExpireTime) {
        super(CommandTypeEnum.SET,updateTime,ExpireTime);
        this.key = key;
        this.value = value;
    }


}
